package com.pikachu.common.annotion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *
 * 权限注解 用于检查权限 规定访问权限
 *
 * @author huang_kangjie
 * @create 2018-08-29 22:01
 **/
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface Permission {

     /**
      * 权限数组
      * @return
      */
     String[] value() default {};

}
